################################################
#
# BiscuitOS-PAGE-FAULT-Kernel-Virtual-Address-BUG0
#
################################################
PK_PAGE_FAULT_KVADDR_BUG0_NAME        := BiscuitOS-PAGE-FAULT-Kernel-Virtual-Address-BUG0
PK_PAGE_FAULT_KVADDR_BUG0_VERSION     := $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_VERSION)
PK_PAGE_FAULT_KVADDR_BUG0_SITE        := $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_URL)
PK_PAGE_FAULT_KVADDR_BUG0_GITHUB      := $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_GITHUB)
PK_PAGE_FAULT_KVADDR_BUG0_SUBNAME     :=
PK_PAGE_FAULT_KVADDR_BUG0_BUILDARCH   := $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_BUILDARCH)
PK_PAGE_FAULT_KVADDR_BUG0_DIR         := $(srctree)/package/page-fault/BiscuitOS-PAGE-FAULT-Kernel-Virtual-Address-BUG0
PK_PAGE_FAULT_KVADDR_BUG0_PATCH       := $(PK_PAGE_FAULT_KVADDR_BUG0_DIR)/patch
PK_PAGE_FAULT_KVADDR_BUG0_BSBIT       := BiscuitOS-PAGE-FAULT-Kernel-Virtual-Address-BUG0-$(PK_PAGE_FAULT_KVADDR_BUG0_VERSION).bsbit
PK_PAGE_FAULT_KVADDR_BUG0_OUT         :=
PK_PAGE_FAULT_KVADDR_BUG0_SCRIPTS     := $(srctree)/scripts/package/package-kernel.sh
PK_PAGE_FAULT_KVADDR_BUG0_TAR         := $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_TAR)
PK_PAGE_FAULT_KVADDR_BUG0_PACKAGE     :=
PK_PAGE_FAULT_KVADDR_BUG0_CONFIG      := $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_CONFIG)
SUB_TARGET                  += $(PK_PAGE_FAULT_KVADDR_BUG0_DIR)/build

PK_PAGE_FAULT_KVADDR_BUG0_sh = $(CONFIG_SHELL) $(PK_PAGE_FAULT_KVADDR_BUG0_SCRIPTS) \
                 $1X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_NAME)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_VERSION)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_SITE)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_GITHUB)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_PATCH)X \
                 $(CONFIG_LINUX_KERNEL_VERSION)X \
	         $(CONFIG_MAIN_PROJ_NAME)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_TAR)X \
                 $(CONFIG_LINUX_KERNEL_CROSS_COMPILE)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_SUBNAME)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_CONFIG)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_LIBPATH)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_CPPFLAGS)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_DPKCONFIG)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_CFLAGS)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_LDFLAGS)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_CXXFLAGS)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_ASFLAGS)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_BSBIT)X \
                 $(PK_PAGE_FAULT_KVADDR_BUG0_BUILDARCH)X \
		 $(PK_PAGE_FAULT_KVADDR_BUG0_CSRCFILE)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_SRCFILE)X \
                 $(CONFIG_PK_PAGE_FAULT_KVADDR_BUG0_CSRCFILE)

$(PK_PAGE_FAULT_KVADDR_BUG0_DIR)/build: FORCE
	$(Q)$(call PK_PAGE_FAULT_KVADDR_BUG0_sh,$(srctree))
